﻿using B.R.RabbitRoot.Domain;
using B.R.RabbitRoot.ErrorCode;
using B.R.RabbitRoot.Read.API.Dtos;
using MediatR;

namespace B.R.RabbitRoot.Read.API.Applications.Commands.LoginCommands
{
    /// <summary>
    /// 登陆命令
    /// </summary>
    public class LoginQueryCommand:IRequest<APIResult<AccountDTO>>
    {
        /// <summary>
        /// 登陆账号
        /// </summary>
        public string AccountName { get; set; }
        /// <summary>
        /// 登陆密码
        /// </summary>
        public string AccountPass { get; set; }
    }
}
